package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import com.xbongbong.paas.toolbox.wrap.QueryIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * PAAS数据初始化
 * 创建时间： 2018/9/27 14:38
 * 修改时间： 2018/9/27 14:38 梁鲁江
 *
 * @author 梁鲁江
 */
@Getter
@Setter
@ToString
public class PaasFormDataEsInitByCorpidListAndBusinessTypeListDTO extends BaseDTO{
    private static final long serialVersionUID = -7312910393019435718L;
    /**
     * 验证码
     */
    @NotEmpty(message = "{dto.msg.paasFormDataEsInit.xbbCode.NotEmpty}")
    private String xbbCode;
    /**
     * 每页查询长度
     */
    private Integer pageSize;
    /**
     * saas业务类型,当saasMark为saas的时候不为空
     * @see  com.xbongbong.saas.enums.XbbRefTypeEnum
     */
    @Getter(onMethod_ = {@QueryIgnore})
    private List<Integer> businessTypeList;
    /**
     * corpidList
     */
    private List<String> corpidList;
}
